package com.bawei.yangzongcai___chenmei.MVC.base;

import java.io.IOException;

import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;

/**
 * create by ertu
 * create on 2021/7/12
 * description
 */
public class HoshDoootoTion implements Interceptor {
    @Override
    public Response intercept(Chain chain) throws IOException {
        Request request = chain.request();
        return chain.proceed(request.newBuilder().addHeader("head","android").build());
    }
}
